/*
 *Copyright (c) 1997, 2011, Company Name. All rights reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 */
package com.vlaearn.spring.junit.model;

/**
 * Customer class is a pojo which holds id,name,address of the customer
 * 
 * @author IB1378
 * @since 12-12-2013
 */
public class Customer {

	/* customer id */
	private int id;
	/* customer name */
	private String name;
	/* customer address */
	private String address;

	/**
	 * default constructor.
	 */
	public Customer() {
	}

	/**
	 * constructor which takes id,name and address.
	 * 
	 * @param id
	 * @param name
	 * @param address
	 */
	public Customer(int id, String name, String address) {
		this.id = id;
		this.name = name;
		this.address = address;
	}

	/**
	 * return customer id
	 * @return id
	 */
	public int getId() {
		return id;
	}

	/**
	 * sets customer id
	 * @param id
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * return customer name
	 * @return name
	 */
	public String getName() {
		return name;
	}

	/**
	 * sets customer name
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * return customer address
	 * @return address
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * 
	 * @param address
	 */
	public void setAddress(String address) {
		this.address = address;
	}

}
